package cn.jeeweb.modules.client.mapper;

import cn.jeeweb.modules.client.entity.Task;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import cn.jeeweb.modules.client.entity.ClientOrder;
import com.baomidou.mybatisplus.mapper.Wrapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**   
 * @Title: 订单信息数据库控制层接口
 * @Description: 订单信息数据库控制层接口
 * @author zhuht
 * @date 2018-04-26 22:51:39
 * @version V1.0   
 *
 */
public interface ClientOrderMapper extends BaseMapper<ClientOrder> {
    List<ClientOrder> selectClientOrderPage(com.baomidou.mybatisplus.plugins.Page<ClientOrder> page,
                              @Param("ew") Wrapper<ClientOrder> wrapper, @Param("groupSearch") String groupSearch);
    List<ClientOrder> selectShopIds();
    List<ClientOrder> selectOrderByScales(@Param("limits") List<Map<String,String>> limits);

    boolean updateBatch( List<String> ids);

    int getMaxNumber(String createDate);

    int updateMaxNumber(String maxNumber);
}